//for test
#include <stdlib.h>
#include <stdio.h>
#include "link.h"
#include "binary_tree.h"

/*
int main()
{
	int n[] = {3, 1, 5, 7, 9, 11};
    SLink head = create_link_list();
    for (int i = 0; i < 6; ++i) {
    	insert_into_list(head, n[i]);
    }
    print_link_list(head);
    delete_element_from_list(head, 7);
    print_link_list(head);
    head = reverse_list(head);
    print_link_list(head);
    free_link_list(head);
    head = NULL;
    printf("\n\n\n\n\n");
    
    TreeRoot root = create_binary_tree(6);
    for (int i = 0; i < 6; ++i) {
    	insert_element_into_binary_tree(root, n[i]);
    }
    preorder_print_binary_tree(root);
    printf("\n");
    
    return 0;
}
*/

